package com.ljh.onlinetest.service.enums;

/**
 * @author 余一
 * @date 2022/2/13  10:57
 */
public enum ActionEnum {
    ADD(1,"新增"),
    UPDATE(2,"修改");

    int code;
    String name;

    ActionEnum(int code, String name) {
        this.code = code;
        this.name = name;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
